<!-- 头部-企业信息 -->
<script lang="ts" setup>
import { useCompanyStore } from "@/stores/company";

defineOptions({ name: "Company" });
const companyStore = useCompanyStore();
</script>

<template>
  <div p="t-20px x-20px">
    <div flex="~ items-center">
      <el-icon class="i-custom:company" text="38px!" />
      <span text="24px" p="l-12px">
        {{ companyStore.companyInfo?.name ?? "-" }}
      </span>
    </div>
    <div flex="~ items-center" p="l-48px">
      <div flex="~ items-center" p="r-24px">
        <el-icon class="i-custom:score" text="14px! #FFC400!" />
        <span text="#9FB3C6 16px" p="l-12px">评分：85分</span>
      </div>
      <div flex="~ items-center">
        <el-icon class="i-custom:integrity" text="14px! #FFC400!" />
        <span text="#9FB3C6 16px" p="l-12px">诚信等级：优</span>
      </div>
    </div>
  </div>
</template>
